###Copyright (C) 2018 Vincent Torri <vincent dot torri at gmail dot com
###This code is public domain and can be freely used or copied.

MAINTAINERCLEANFILES = Makefile.in

AUTOMAKE_OPTIONS = subdir-objects

bin_PROGRAMS = dwarfgen

dwarfgen_SOURCES = \
createirepformfrombinary.cc \
createirepfrombinary.h \
createirepfrombinary.cc \
dwarfgen.cc \
general.h \
irepattrtodbg.cc \
irepattrtodbg.h \
irepdie.h \
irepform.h \
irepframe.h \
irepline.h \
irepmacro.h \
ireppubnames.h \
irepresentation.h \
ireptodbg.cc \
ireptodbg.h \
strtabdata.h

dwarfgen_CPPFLAGS = -I$(top_srcdir)/libdwarf -I$(top_builddir)/libdwarf

dwarfgen_CXXFLAGS =

dwarfgen_LDADD = \
$(top_builddir)/dwarfdump/dwarfdump-dwgetopt.o \
$(top_builddir)/libdwarf/libdwarf.la \
@DWARF_LIBS@

EXTRA_DIST = \
COPYING \
ChangeLog \
ChangeLog2011 \
ChangeLog2012 \
ChangeLog2013 \
ChangeLog2014 \
ChangeLog2015 \
ChangeLog2016 \
ChangeLog2017 \
CMakeLists.txt \
NEWS \
README \
TESTmallocfail \
configure.cmake \
$(dwarfgen_DATA) \
dwarf-generator.txt \
fakemalloc.in
